package rpc.compress;

import rpc.extension.SPI;

/**
 * @ClassName: Compress
 * @Description:
 * @author: Kowk
 * @since:1.0.0
 */
@SPI
public interface Compress {
    byte[] compress(byte[] bytes);

    byte[] decompress(byte[] bytes);
}
